[XEN] Emulator fixes.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 29 Nov 2006 10:48:06 +0000 (10:48 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 29 Nov 2006 10:48:06 +0000 (10:48 +0000)
commit1d892b609b9b8422bad3c98cf1a6d6afafb54c05
tree60d0f1532a8f69c7c85ca475c4b10dd400bd5f34
parentb496644a2b007274b9aeb060a556b9993ab529d2
[XEN] Emulator fixes.

 1. Fix RIP-relative EA calculation. Immediate operands are never 64-bit.
 2. Displacements are sign-extended so used signed types.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/x86_emulate.c